import { createSlice } from '@reduxjs/toolkit'

const initialState = {
    start: '北京',
    end: '上海',
    date: '2025-10-31',
    isSpeed: true,
    isSeat: true,
    isDesc: true,
}

export const counterSlice = createSlice({
    name: 'citySlice',
    initialState,
    reducers: {

    },
})

// Action creators are generated for each case reducer function
export const { increment, decrement, incrementByAmount } = counterSlice.actions

export default counterSlice.reducer